package com.project.service;

import com.project.entity.SchoolManagerInfo;

import java.util.List;

/**
 * author: WheelChen
 * date: 2017/7/25
 */
public interface SchoolManagerInfoService {

    /**
     * author: WheelChen
     * date: 2017/7/25
     * function: 根据userId查找对应字段
     *
     * @param userId
     * @return
     */
    SchoolManagerInfo findByUserId(Integer userId);

    /**
     * author: WheelChen
     * date: 2017/7/31
     * function: 添加一个学院管理表记录
     *
     * @param schoolManagerInfo
     * @return
     */
    int addOne(SchoolManagerInfo schoolManagerInfo);

    /**
     * author: WheelChen
     * date: 2017/9/18
     * function: 根据学院id查找单个学院管理员
     *
     * @param schoolId
     * @return
     */
    SchoolManagerInfo findOneBySchoolId(Integer schoolId);

}
